﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Super.Core.CodeHelper;
using Super.Core.Utility;

namespace Super.Core.Builder
{
    public class BuilderIDAL : BaseBuilder,IBuilder.IBuilderIDAL
    {

        /// <summary>
        /// 生成IDAL层代码；
        /// </summary>
        /// <returns></returns>
        public string GetIDALCode()
        {
            return "";
        }

        /// <summary>
        /// 获得空的IDAL层代码；
        /// </summary>
        /// <returns></returns>
        public string GetEmptyIDALCode()
        {
            return "";
        }

        /// <summary>
        /// 创建获取最大编号的方法
        /// </summary>
        /// <returns></returns>
        public string CreateGetMaxID()
        {
            StringPlus strclass = new StringPlus();

            return strclass.ToString();
        }

        /// <summary>
        /// 创建判断记录是否存在方法；
        /// </summary>
        /// <returns></returns>
        public string CreateExists()
        {
            StringPlus strclass = new StringPlus();

            return strclass.ToString();

        }

        /// <summary>
        /// 创建添加指定记录的方法
        /// </summary>
        /// <returns></returns>
        public string CreateAdd()
        {
            StringPlus strclass = new StringPlus();

            return strclass.ToString();
        }

        /// <summary>
        /// 创建更新指定记录的方法
        /// </summary>
        /// <returns></returns>
        public string CreateUpdate()
        {
            StringPlus strclass = new StringPlus();

            return strclass.ToString();
        }
        /// <summary>
        /// 创建删除指定记录的方法
        /// </summary>
        /// <returns></returns>
        public string CreateDelete()
        {
            StringPlus strclass = new StringPlus();

            return strclass.ToString();
        }

        /// <summary>
        /// 创建获得指定记录的方法
        /// </summary>
        /// <returns></returns>
        public string CreateGetModel()
        {
            StringPlus strclass = new StringPlus();

            return strclass.ToString();

        }

        /// <summary>
        /// 创建获取指定条件的记录的方法
        /// </summary>
        /// <returns></returns>
        public string CreateQueryList()
        {
            StringPlus strclass = new StringPlus();

            return strclass.ToString();
        }

        /// <summary>
        /// 创建分页返回指定条件下的记录的方法
        /// </summary>
        /// <returns></returns>
        public string CreateQueryListAsPage()
        {
            StringPlus strclass = new StringPlus();

            return strclass.ToString();
        }


    }
}
